home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Kit PC World De Ampliacion De Windows 95
/
Kit PC World de ampliacion de Windows 95.iso
/
internet
/
sweeper
/
samples
/
olecon~1
/
controls
/
webbit~1
/
webbit~1.odl
< prev
next >
Wrap
Text File
|
1995-12-04
|
3KB
|
102 lines
//=--------------------------------------------------------------------------=
// WebBitmap.ODL
//=--------------------------------------------------------------------------=
// Copyright 1995 Microsoft Corporation. All Rights Reserved.
//
// THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF
// ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO
// THE IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A
// PARTICULAR PURPOSE.
//=--------------------------------------------------------------------------=
//
// ODL file for the control(s) and automation object(s) in this inproc server
//
#include <olectl.h>
#include <idispids.h>
#include <internet.h>
#include "dispids.h"
// can't include oaidl.h, so this will have to do
//
#define DISPID_NEWENUM -4
//=--------------------------------------------------------------------------=
// the libid for this type libray
//
[
uuid(b92bb5c0-2e73-11cf-b6cf-00aa00a74daf),
helpstring("WebBitmap Control Library"),
lcid(0x0000),
version(1.0)
]
library WebBitmapObjects {
// standard imports
//
importlib("STDOLE32.TLB");
importlib(STDTYPE_TLB);
importlib("datapath.tlb");
// primary dispatch interface for CWebBitmap control
//
[
uuid(bb1a1840-2e73-11cf-b6cf-00aa00a74daf),
helpstring("WebBitmap Control"),
hidden,
dual,
odl
]
interface IWebBitmap : IDispatch {
// properties
//
[id(DISPID_READYSTATE), propget]
HRESULT ReadyState([out, retval] long * thestate);
[id(DISPID_BMPPATH), propget]
HRESULT Bitmap([out, retval] OLE_DATAPATH * path);
[id(DISPID_BMPPATH), propput]
HRESULT Bitmap([in] OLE_DATAPATH path);
// methods
//
[id(DISPID_ABOUTBOX)]
void AboutBox(void);
[id(DISPID_SCRAMBLE)]
HRESULT Scramble(void);
};
// event interface for CWebBitmap controls ...
//
[
uuid(bbcb18c0-2e73-11cf-b6cf-00aa00a74daf),
helpstring("Event interface for WebBitmap control"),
hidden
]
dispinterface DWebBitmapEvents {
properties:
methods:
[id(DISPID_READYSTATECHANGE)]
void OnReadyStateChange(long newState);
[id(DISPID_PROGRESS)]
void OnProgress(long percentDone);
};
// coclass for CWebBitmap controls
//
[
uuid(bd11a280-2e73-11cf-b6cf-00aa00a74daf),
helpstring("WebBitmap control")
]
coclass WebBitmap {
[default] interface IWebBitmap;
[default, source] dispinterface DWebBitmapEvents;
};
};